package org.akushe.core;

import javax.jcr.Session;

import org.akushe.core.repository.workspace.WorkspaceController;


/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
    	WorkspaceController wc = WorkspaceController.getInstance();
    	try{
    		Session session = wc.getSessionFactory().createSession("default");
    		System.out.println(session.getWorkspace().getName());
    		session.getRootNode();
    	}
    	catch(Exception ex){
    		ex.printStackTrace();
    	}
    	
    }
}
